//
//  LZPersonFooterView.m
//  DoctorFAQs
//
//  Created by langZai on 2017/2/13.
//  Copyright © 2017年 zjq. All rights reserved.
//

#import "LZPersonFooterView.h"

@implementation LZPersonFooterView

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        
        // 退出登录按钮
        _exitBtn = [UIButton new];
        [_exitBtn setTitle:@"退出登录" forState:UIControlStateNormal];
        [_exitBtn setTitleColor:[UIColor redColor] forState:UIControlStateNormal];
        [_exitBtn setBackgroundColor:[UIColor whiteColor]];
        _exitBtn.layer.cornerRadius = 5;
        _exitBtn.titleLabel.font = FONT(18);
        _exitBtn.titleLabel.textAlignment = NSTextAlignmentCenter;
        
        [self addSubview:_exitBtn];
        [_exitBtn mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.equalTo(self);
            make.right.equalTo(self);
            make.top.equalTo(self).offset(10*ysIZE);
            make.height.offset(45*ysIZE);
        }];
    }
    return self;
}

@end
